<div class="nav print_h"> <a href="{:U('Tuihuan/huan')}">换货列表</a> <a class="sel"  href="#">详情</a> </div>
<style type="text/css">
.xdd_t1{ width:980px; margin:0 auto; margin-top:20px; }
.ckdd_ddxx{ margin-top:20px;}
.ckdd_dh{ font-size:18px; color:#18a9eb; font-family:"微软雅黑";}
.ckdd_ddnr{ margin-top:10px; border:1px solid #d7d6d6;}
.ckdd_ddnr1{ line-height:38px; color:#333; margin-top:10px; width:920px; margin-left:40px; }
</style>
<div class="hy_bg">
  <div class="xdd_t1">
    <div class="ckdd_ddxx">
      <div class="ckdd_ddnr">
        <table width="980" border="0" class="ckdd_ddnr1">
          <tr>
            <td>状态：<span style="color:#49b44b; font-weight:bold;">{$model.th_status|get_th_status}</span> &nbsp; 申请时间：<span style="color:#49b44b; font-weight:bold;">{$model.create_time|stringtime}</span> </td>
          </tr>
			<tr>
            <td>理由：{$model.reason} </td>
          </tr>
		  	<tr>
            <td>描述：{$model.detail|trim_textarea}</td>
          </tr>
		  		  	<tr>
            <td><a href="__ROOT__{$model.picture}" target="_blank"><img src="__ROOT__{$model.picture}" width="100"></a></td>
          </tr>
          <tr style="display:none;">
            <td>订单备注：{$model.order_detail|htmlspecialchars_decode|trim_textarea}</td>
          </tr>
		  <if condition="$model['th_status'] eq 3 OR $model['th_status'] eq 4">
		  <tr><td><strong>快递信息</strong></td></tr>
		     <tr>
            <td>快递： {$model.kuaidi}  &nbsp; 快递单号：{$model.kuaidi_no}</td>
          </tr>
			<tr>
            <td>手机：{$model.phone} </td>
          </tr>
		  <tr>
            <td>邮箱：{$model.email} </td>
          </tr>
		  </if>
		  <tr><td><strong>人工审核</strong></td></tr>
          <tr>
            <td ><div class="qxdd_qxan">
                <form action="{:U('Tuihuan/tuihuan_action')}" method="post">
                 状态：<select name="th_status" id="th_status"   style="height:30px;">
				  <option value="1">未审核</option>
				  <option value="2">审核通过</option>
				  <option value="3">正在寄回</option>
				  <option value="4">已回收</option>
				  <option value="5">已关闭</option>
				</select> 
                  <input type="hidden" name="id" value="{$model.id}">
                  <input type="submit" value="确定" /></span>
                </form>
              </div></td>
          </tr>
        </table>
		<script type="text/javascript">
		$(function(){
		$('#th_status').val({$model.th_status});
		})
		</script>
      </div>

    </div>
  </div>
</div>
